<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>

<head>
<!-- 这里引入导航信息header.tpl -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>招商财富Solution - 权限管理</title>
<script type="text/javascript">
var privilegePath = '<%=context%>' + 'privilege/privilegeUpdate/';
	//默认加载
	$(function() {
		//把访问路径传到js
		setPathPrefix(privilegePath);
	});
</script>
</head>
<body class="fixed-nav">
<div class="result-box padding-0" style="overflow: visible;">
	<div class="clearfix form-multi-col-panel">
		<div class="form-item-group form-horizontal" role="form">
			<div class="form-item">
				<span class="form-field">角色名称：</span> <span class="form-input"> <input type="text" placeholder="角色名称" class="form-control" name="q-roleName" id="q-roleName" value=""></span>
			</div>

			<div class="form-item">
				<span class="form-field">角色类型：</span>
				<span class="form-input">
					<select class="form-control use-select2" placeholder="角色类型" name='q-roleType' id='q-roleType'>
		                <option value=''></option>
						<wasp:dictOptions dctRootType="ROLE_XXX_TYPE"></wasp:dictOptions>
					</select>
				</span>
			</div>

			<div class="form-item">
				<span class="form-field">员工姓名：</span>
				<span class="form-input">
					<select class="form-control use-select2" placeholder="员工姓名" name='q-empName' id='q-empName'></select>
				</span>
			</div>
			
			<div class="form-item"></div>
			<div class="form-item"></div>
			
		</div>
		<div class="form-action">
			<button class="btn btn-primary" id="queryBtn" name="queryBtn" type="submit" onclick="queryByCondtion(true)">
				<i class="fa fa-search"></i> 查询
			</button>
			<button class="btn btn-outline btn-default" id="resetBtn" name="resetBtn" type="reset">清空</button>
		</div>
	</div>
	<div class="form-search-group">
	        <a class="btn btn-default btn-sm" href="javascript:javascript:updateLimit();"  id="updatePrivilBtn" name="updatePrivilBtn">更新查询权限</a>
	</div>
	<div class="jqGrid_wrapper fullscreen-wrapper">
		<table id="privilegeList"></table>
		<div id="privilegePage"></div>
	</div>
</div>
	<script type="text/javascript" src="<%=context%>resources/modules/system/sys/privilege.js?20190726"></script>
	<script type="text/javascript" src="<%=context%>resources/modules/system/sys/privilege.search.js?20180726"></script>
</body>

</html>
